﻿using UnityEngine;
using System.Collections;

public class GetColor : MonoBehaviour {

	public static Color getColor()
	{
		int i = Random.Range(0,8);

		switch (i)
		{
		case 0: return Color.red;
		case 1: return Color.black;
		case 2: return Color.white;
		case 3: return Color.green;
		case 4: return Color.yellow;
		case 5: return Color.blue;
		case 6: return Color.magenta;
		case 7: return new Color(1,0.57f,0);// Orange
		default : return Color.white;
		}
	}
}
